package org.example.back.mapper.plan;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.back.entity.plan.MuscleGainPlan;

import java.time.LocalDate;

@Mapper
public interface MuscleGainPlanMapper {

    MuscleGainPlan selectByUserIdAndStartDate(@Param("userId") Integer userId,
                                             @Param("startDate") LocalDate startDate);

    int insert(MuscleGainPlan plan);

    // 你也可以添加其他需要的方法
}
